package cn.ljh.com.user.service;

import cn.ljh.com.user.entity.User;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author 邓立川
 * @date 2021/1/15 15:06
 * @desc 添加当前类的描述信息
 */
public interface UserService {

    User findById(Long id) throws Exception;

    int deleteUser(Long[] ids) throws Exception;

    List<User> list(User user) throws Exception;

    Page<User> page(User user) throws Exception;

    User save(User user) throws Exception;

}
